#ifndef SYSTEMUTILS_H
#define SYSTEMUTILS_H

#include <QObject>
#include <QTimer>
#include <QFile>
#include <QQmlContext>
#include <QQmlProperty>
#include <QQmlApplicationEngine>
#include <QQmlEngine>
#include <QQuickItem>

class SystemUtils : public QObject
{
    Q_OBJECT
public:
    explicit SystemUtils(QObject *parent = nullptr);
    Q_INVOKABLE void qmlprint(void);
private:
    QString rgbaConvert(int color);

signals:

private slots:

public slots:
    QString gpuLoadRead(void);
    void ledaControl(const QString& value);



private:
    QTimer *gpuLoadTimer;
    QFile *gpuFile;
    QQmlEngine *engine;
    QObject *xdock_page;
};

#endif // SYSTEMUTILS_H
